package com.mvc.finance.model;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

import com.mvc.framework.model.CommonAuditableEntity;

/**
 * 
 * @author snowpbx
 * @version V1.0 Create Time: 2012-10-15
 */
@Entity(name = "B_COMMERCIAL_INVOICE_CHARGE")
public class CommercialInvoiceCharge extends CommonAuditableEntity {

	@NotNull
	private Integer	commercialInvoiceId;
	@NotNull
	private Integer	type;
	@NotNull
	private String	chargeName;
	@NotNull
	private Double	charge;

	public String getChargeName() {
		return chargeName;
	}

	public void setChargeName(String chargeName) {
		this.chargeName = chargeName;
	}

	public Double getCharge() {
		return charge;
	}

	public void setCharge(Double charge) {
		this.charge = charge;
	}

	public Integer getCommercialInvoiceId() {
		return commercialInvoiceId;
	}

	public void setCommercialInvoiceId(Integer commercialInvoiceId) {
		this.commercialInvoiceId = commercialInvoiceId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
